package com.wm.common.core.filter;

import com.wm.common.annotation.QueryFilter;
import com.wm.common.core.domain.entity.SysUser;
import com.wm.common.core.filter.base.QueryWrapperContext;
import com.wm.common.enums.FilterType;
import lombok.Data;

/**
 * 用户对象 sys_user
 *
 * @author wm
 */
@Data
public class SysUserSearchContext extends QueryWrapperContext<SysUser>
{

    /** 部门ID */
    @QueryFilter(type = FilterType.EQ)
    private Long deptId;

    /** 用户账号 */
    @QueryFilter(type = FilterType.LIKE)
    private String userName;

    /** 用户昵称 */
    @QueryFilter(type = FilterType.LIKE)
    private String nickName;

}
